<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>策略</title>
    <style type="text/css">

    </style>
    <script src="../../../lib/jquery/jquery.min.js" type="text/javascript"></script>
</head>
<body>



<script type="text/javascript">
    $(document).ready(function () {
        var id_array=new Array();
        $('input[name="id"]:checked').each(function(){
            id_array.push($(this).val());//向数组中添加元素
        });
        var idstr=id_array.join(',');//将数组元素连接起来以构建一个字符串
        alert(idstr);
    })
</script>
</body>
</html>